From: kfraser@localhost.localdomain Date: Mon, 10 Jul 2006 16:33:45 +0000 (+0100) Subject: [LINUX] Define dma_get_cache_alignment even on x86/64. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15873 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=3863ac76d1dd97c18e5540879b9d86a536caa8e9;p=xen.git [LINUX] Define dma_get_cache_alignment even on x86/64. Signed-off-by: Keir Fraser --- diff --git a/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/dma-mapping.h b/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/dma-mapping.h index bd43e8fc52..17ef0c2afd 100644 --- a/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/dma-mapping.h +++ b/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/dma-mapping.h @@ -120,7 +120,6 @@ dma_set_mask(struct device *dev, u64 mask) return 0; } -#ifdef __i386__ static inline int dma_get_cache_alignment(void) { @@ -128,7 +127,6 @@ dma_get_cache_alignment(void) * maximum possible, to be safe */ return (1 << INTERNODE_CACHE_SHIFT); } -#endif #define dma_is_consistent(d) (1)